package cn.fnst.facecomp;

import java.util.ArrayList;
import java.util.List;

import encypt.EncryptMethodDesUrl;

public class Encypt {
	

	public static String decrypt(String value) {
//		String key = "MyNJ928C"; //测试环境
		String key = "MyNJ930R";// 密钥生产环境
        EncryptMethodDesUrl EncryptMethodDesUrl = new EncryptMethodDesUrl();
        List params = new ArrayList();
        params.add(value);
        params.add(key);// 密钥
        params.add("des");// 加密方式为des
        return EncryptMethodDesUrl.decrypt(params);
	}
}
